#pragma once
#include <windows.h>
#include "DBMaster.h"

ATOM RegMyWindowClass(HINSTANCE hInst, LPCTSTR lpzClassName);

HWND DrawWindow(HWND parent);

HWND CreateSimpleToolbar(HWND hWndParent);

LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

BOOL CALLBACK EDPROC(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);

BOOL CALLBACK DRPROC(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);

BOOL CALLBACK EnumChildProc(HWND hwndChild, LPARAM lParam);

void CallFileDialog(DBMaster & data, DWORD flag, HWND hWnd);